package com.teacher.security.entity.permission;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import lombok.Data;

import java.util.List;

/**
 * @Author: zfm
 * @Date: 2020/7/1 11:16
 */
@Data
public class MenuReturnVo {
    private String label;
    private String path;
    private String icon;
    private String component;
    private List<MenuReturnVo> children;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long parentId;
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    private Integer type;
}
